﻿using PkwDevFramework.Common;
using SqlSugar;

namespace PkwHCFramework.Entity.DomainModels
{
    public class Alarm : BaseEntity
    {
        [SugarColumn(Length = 20)]
        public string DeviceId { get; set; }

        [SugarColumn(Length = 20)]
        public string Code { get; set; }

        [SugarColumn(Length = 40)]
        public string Name { get; set; }

        public int Level { get; set; }

        public int Status { get; set; }

        public DateTime AlarmTime { get; set; }

        [SugarColumn(IsNullable = true)]
        public string HandlePerson { get; set; }

        [SugarColumn(IsNullable = true)]
        public DateTime HandleTime { get; set; }
    }
}
